// pages/callme/callme.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    list:[
      {
        phone:'0796-8217169',
        name:'吉州区'
      },
      {
        phone:'0796-8203225',
        name:'青原区'
      },
      {
        phone:'0796-8952566',
        name:'吉安县'
      },
      {
        phone:'0796-8638309',
        name:'泰和县'
      },
      {
        phone:'0796-8689285',
        name:'吉水县'
      },
      {
        phone:'0796-2682263',
        name:'新干县'
      },
      {
        phone:'0796-2511398',
        name:'永丰县'
      },
      {
        phone:'0796-3674581',
        name:'峡江县'
      },

      {
        phone:'0796-7174918',
        name:'安福县'
      },
      {
        phone:'0796-7721615',
        name:'永新县'
      },
      {
        phone:'0796-6318326',
        name:'遂川县'
      },
      {
        phone:'0796-5866168',
        name:'万安县'
      },

      {
        phone:'0796-6891483',
        name:'井冈山市'
      },
      {
        phone:'0796-8236610',
        name:'市直单位'
      },
      
    ]

  },

  call(e){
    wx.makePhoneCall({
      phoneNumber: e.currentTarget.dataset.p,
    })
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})